package com.yingxin.yxerp.module.dingtalk.service;

import java.io.IOException;
import java.util.Map;

public interface ImgService {

    String getTemplate(String templateName, Map<String, Object> map);

    String saveFile(String stringTemplate, Integer width, Integer length) throws IOException;

    String htmlToImage(Map<String, Object> map, String templateName, Integer width, Integer length);

    String export(Map<String, Object> map, String templateName, String name);

    String exportPrimaryName(Map<String, Object> map, String templateName, String name);

}
